package schooltg.core.persist.dao.impl;

import schooltg.core.persist.dao.ConfigDao;
import schooltg.core.persist.entity.ConfigPO;
import mtons.modules.annotation.Repository;
import mtons.modules.persist.impl.BaseRepositoryImpl;

@Repository(entity = ConfigPO.class)
public class ConfigDaoImpl extends BaseRepositoryImpl<ConfigPO> implements ConfigDao {
	private static final long serialVersionUID = 1661965983527190778L;

	@Override
	public ConfigPO findByName(String key) {
		return findUniqueBy("key", key);
	}
	
}
